package php4dvdPages;

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.support.ui.WebDriverWait;

/**
 * @author Anna Alexeyenko
 *         Date: 1/26/13
 */
public abstract class Page {


    public WebDriver driver;

    public boolean isOnThisPage() {
        return true;
    }

    public abstract void tryToOpen();

    public WebDriverWait waitForElement(){
        return new WebDriverWait(driver, 10);
    }
}
